﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;
using System.Windows.Controls;

namespace EMath {
	/// <summary>
	/// Interaction logic for App.xaml
	/// </summary>
	public partial class App : Application {
		public static new MainWindow MainWindow { get; set; }
		public static Dictionary<string, UserControl> ListUC = new Dictionary<string, UserControl>( );

		[PreEmptive.Attributes.Setup(CustomEndpoint = "so-s.info/PreEmptive.Web.Services.Messaging/MessagingServiceV2.asmx")]
		private void Application_Startup(object sender, StartupEventArgs e) {
			SplashScreen SS = new SplashScreen( );
			SS.ShowDialog( );

			if (App.MainWindow != null) {
				App.MainWindow.Show( );
				App.MainWindow.Focus( );
			}
		}
	}
}